package org.example.myleet.p456;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(!solution.find132pattern(new int[]{1, 2}));
        Assert.isTrue(!solution.find132pattern(new int[]{-2, 1, 1}));
        Assert.isTrue(!solution.find132pattern(new int[]{1, 2, 3, 4}));
        Assert.isTrue(solution.find132pattern(new int[]{3, 1, 4, 2}));
        Assert.isTrue(solution.find132pattern(new int[]{-1, 3, 2, 0}));
        Assert.isTrue(solution.find132pattern(new int[]{5,7,1,2,3,4,6}));
        Assert.isTrue(solution.find132pattern(new int[]{5,7,8,9,1,2,3,4,1,2}));
    }
}
